import request from './axios'
export const getLogin = (data: Object) => request.post('/api/login', data)
export const getList = () => request.get('/api/list')
export const getMoban = () => request.get('/api/moban')
export const getdingdan = () => request.get('/api/dingdan')
export const getUp = (values) => request.post('/api/up', values)



export const getTemAll = () => {
    return request({
        url: '/HotData',
        method: 'get'
    })
}

export const getTemAll1 = () => {
    return request({
        url: '/NewData',
        method: 'get'
    })
}

export const getChongZhi = () => {
    return request({
        url: '/api/chong',
        method: 'get'
    })
}